package com.roncoo.permission.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roncoo.permission.entity.Admin;
import com.roncoo.permission.entity.AdminroleTMenu;
import com.roncoo.permission.entity.TMenu;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuechuanhao
 * @since 2021-03-23
 */
public interface AdminMapper extends BaseMapper<Admin> {


    List<TMenu> findMenuByRoleid(Integer roleid);

    List<Map> findPeople(Integer roleid);

    int findrole(Integer id);
}
